projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0eba4e
)
Make Re: recognition in ispell-message less ambiguous
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Nov 2021 16:08:11 +0000
(17:08 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Nov 2021 16:08:11 +0000
(17:08 +0100)
* lisp/textmodes/ispell.el (ispell-message): Require a "Re" as a
word, not as a word ending (bug#52104).
lisp/textmodes/ispell.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ispell.el
b/lisp/textmodes/ispell.el
index 4087f7e5f29153bc45e6948f459381e86f43e01b..754ecb3a1d7f2cc49b5b593ef000a50792161e0b 100644
(file)
--- a/
lisp/textmodes/ispell.el
+++ b/
lisp/textmodes/ispell.el
@@
-3977,7
+3977,7
@@
You can bind this to the key C-c i in GNUS or mail by adding to
(if (re-search-forward "^Subject: *" end-of-headers t)
(progn
(goto-char (match-end 0))
- (if (and (not (looking-at ".*Re\\>"))
+ (if (and (not (looking-at ".*
\\<
Re\\>"))
(not (looking-at "\\[")))
(progn
(setq case-fold-search old-case-fold-search)